﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Lanting.Model.Util
{
    /// <summary>
    /// 下拉框内容辅助类
    /// </summary>
    public class ComboInfo : ICloneable
    {
        public string text { get; set; }
        public string value { get; set; }
        public string info { get; set; }
        public ComboInfo()
        {

        }
        public ComboInfo(string _text, string _value)
        {
            text = _text;
            value = _value;
        }
        public ComboInfo(string _text, string _value, string _info)
        {
            text = _text;
            value = _value;
            info = _info;
        }
        public override string ToString()
        {
            return text;
        }

        public object Clone()
        {
            throw new NotImplementedException();
        }
        public ComboInfo CloneMember()
        {
            return (ComboInfo)this.MemberwiseClone();
        }
    }
}
